package com.team10.hotel.service;

import com.team10.hotel.domain.User;

import java.util.List;

public interface UserService {
    List<User> findAllUserAndRoleName();

    User findUserAndRoleNameByPrimaryKey(String userId);

    User findByPrimaryKey(String id);

    int saveOrUpdate(User user);

    int deleteUser(String id);

    User findUserByTel(String userTel);

    User findUserByEmail(String userEmail);

    int saveUser(User user);

    User password(String password);


}
